from wormbane.model.boulder import Boulder
from wormbane.model.race import Race
from wormbane.model.weapon import Weapon

class Troll(Race):
    color = 'blue'
    size = 'large'
    health = 3

    @classmethod
    def create_equipment(cls):
        yield Weapon(kind = 'club', two_handed = True)

    @classmethod
    def create_corpse(cls, monster = None):
        boulder = Boulder(alive = False)
        if monster:
            monster.move_inv_to(boulder)
        return boulder
